// 1.变量不能重复声明
let star = "罗志祥";
// let star = "小猪";

// 2.块级作用域
{
  let girl = "周扬青";
}

// console.log(girl);

// 3.不存在变量提升
// console.log(song);
let song = "恋爱达人";

// 4.不影响作用域链
{
  let school = "尚硅谷";
  function fn() {
    console.log(school);
  }
  fn();
}
